package tech.aistar.day13;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * 本类用来演示: 桥接器 - 获取键盘输入
 *
 * @author: success
 * @date: 2021/3/25 9:12 上午
 */
public class InputStreamReaderDemo {
    public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("输入");
        try {
            String content = in.readLine();

            System.out.println(content);

        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
